﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BDS3M.Admin.Controls
{
    public partial class ViewOrder : System.Web.UI.UserControl
    {
        public string id = "";
        public string name;
        public string email;
        public string address;
        public string phone;
        public string totalprice;
        public string feeship;
        public int idorder;
        protected void Page_Load(object sender, EventArgs e)
        {
           
                if (Request.QueryString["idorder"] != null)
                {
                    idorder = Convert.ToInt32(Request.QueryString["idorder"]);
                    rpt_order.DataSource = DAL.DCollector.DBCollector.Instance.StoredSelectAllTableWhereID("tbl_Orders", " Orders_ID",idorder.ToString());
                    rpt_order.DataBind();
                }
           
        }

        protected void lbtquaylai_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Admin/Index.aspx?panel=3&sub=0");
        }
    }
}